using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace The_LarX
{
    public class LanguageSerializeData
    {
        public List<LanguageData> Data = new List<LanguageData>();

        public string Language;

        public void AddData(int Key, string lingua)
        {
            Data.Add(new LanguageData(Key, lingua));
        }
        public string GetWord(int Key)
        {
            for (int i = 0; i < Data.Count; i++)
                if (Data[i].Key == Key)
                    return Data[i].Word;
            return "NotFound";
        }

        public LanguageSerializeData(string Language)
        {
            this.Language = Language;
        }
        public LanguageSerializeData() { }
    }
}